package com.nit.lab.dto.medical;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class SessionDTO {
    private int key;
    private int orderNumber;
    private int id;
    private String idDevice;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date idDate;
    private String idTime;
    private String ecgUsername;
    private String loginIp;
    private int idEndReason;
    private String descriptionCn;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date idEndDate;
    private String idEndTime;

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public int getOrderNumber() { return orderNumber; }

    public void setOrderNumber(int orderNumber) { this.orderNumber = orderNumber; }

    public SessionDTO() { }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIdDevice() {
        return idDevice;
    }

    public void setIdDevice(String idDevice) {
        this.idDevice = idDevice;
    }

    public Date getIdDate() {
        return idDate;
    }

    public void setIdDate(Date idDate) {
        this.idDate = idDate;
    }

    public String getIdTime() {
        return idTime;
    }

    public void setIdTime(String idTime) {
        this.idTime = idTime;
    }

    public String getEcgUsername() {
        return ecgUsername;
    }

    public void setEcgUsername(String ecgUsername) {
        this.ecgUsername = ecgUsername;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public int getIdEndReason() {
        return idEndReason;
    }

    public void setIdEndReason(int idEndReason) {
        this.idEndReason = idEndReason;
    }

    public Date getIdEndDate() {
        return idEndDate;
    }

    public void setIdEndDate(Date idEndDate) {
        this.idEndDate = idEndDate;
    }

    public String getIdEndTime() {
        return idEndTime;
    }

    public void setIdEndTime(String idEndTime) {
        this.idEndTime = idEndTime;
    }

    public String getDescriptionCn() {
        return descriptionCn;
    }

    public void setDescriptionCn(String descriptionCn) {
        this.descriptionCn = descriptionCn;
    }
}
